<? 
    session_start();
	include ("../../core/conn.php");
	$db = get_conn();
	
	$extraitems ="<option value=''>Seleccione</option>";
	$javascript =" ";

	$sqlquery="select u.id_user as myvalue, u.name as mydesc
					from users u, user_rol ur
					where u.id_user = ur.id_user and
					ur.id_rol = 2 order by u.name";
	echo dbcombosql($sqlquery,"id_user",$_GET['id'],$javascript,$extraitems);
?>
